package com.linkgie.galaxyframework.utils;

public class RethrowException extends ContextException {
	
	private Exception previousException;
	
	public RethrowException(String message, Exception cause){
		super(message, cause);
	}
	
	public RethrowException(Exception previousException, String message, Exception cause){
		super(message, cause);
		this.previousException = previousException;
	}


	/**
	 * @return the originException
	 */
	public Exception getPreviousException() {
		return previousException;
	}
}